<meta name="search_url" content="{:U('/search')}">
<meta name="creat_function_url" content="{:U('index/fun')}">
<meta name="creat_page_url" content="{:U('index/page')}">
<meta name="edit_url" content="{:U('index/edit')}">
<div class="main_header">
	<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
      <ul class="nav navbar-nav">
        <li>
        	<div class="navbar-form navbar-left" role="search">
			  <div class="form-group">
				<div class="dropdown">
				  <input type="text" class="form-control" placeholder="Search" id="search" />
				  <ul id="menu" class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
				    
				  </ul>
				</div>
			  </div>
			</div>
        </li>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <li title="当前用户 {$user}"><a class="user"><span class="glyphicon glyphicon-user"></span>&nbsp;{$user}</a></li>
        <li title="登出"><a href="{:U('index/logout')}" class="logout"><span class="glyphicon glyphicon-log-out"></span></a></li>
      </ul>
    </nav>
</div>
<script src="{:C('WWW')}/static/js/main.js"></script>
<style>
	.user{
		color: red;
		cursor: pointer;
	}
	.user:hover{
		color: blue;
	}
	.logout{
		color: white;
	}
	.logout:hover{
		color: blue;
	}
</style>
